package com.hui.redis.entity;

import lombok.Data;
import lombok.experimental.Accessors;
import java.io.Serializable;


/**
 * @BelongsProject: redis
 * @BelongsPackage: com.example.demo.entity
 * @Author: HUI
 * @CreateTime: 2022-03-18 09:32
 * @Description:
 */
@Data
@Accessors(chain = true)//set方法返回This，链式操作
public class User implements Serializable {

    private Integer id;
    private String name;
    private Integer age;

}
